﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SY.BasicData.ErrorCode
{
    /// <summary>
    /// 封装ApiResult
    /// </summary>
    public class ApiResult<T>
    {
        /// <summary>
        /// 返回码
        /// </summary>
        public ApiEnum Code { get; set; }
        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public T Data { get; set; }

    }
}
